﻿using Microsoft.Identity.Client;
using System;
using System.Collections.Generic;
using System.Text;

namespace MSALPost
{
    public class Result
    {
        /// <summary>
        /// get返回参数
        /// </summary>
        public string Data { get; set; }
        /// <summary>
        /// 错误信息，当code为0时有数据
        /// </summary>
        public string Error { get; set; }
        /// <summary>
        /// 编号，0为是失败，1成功
        /// </summary>
        public int Code { get; set; }
        /// <summary>
        /// 用户验证结果
        /// </summary>
        public AuthenticationResult Auth { get; set; }
    }
}
